<? if(!defined('IN_TIPASK')) exit('Access Denied'); ?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd"><? $user=$this->user; $setting=$this->setting; ?><html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>Tipask's Control Panel</title>
        <meta http-equiv="Content-Type" content="text/html; charset=<?=TIPASK_CHARSET?>">
        <link media="all" type="text/css" href="css/common/admin/admincp.css" rel="stylesheet"/>
    </head>
    <body>

        <div id="append">
        </div>

        <div class="container">

            <? if(isset($message)) { ?>            <? $type=isset($type)?$type:'correctmsg';  ?>            <div class="<?=$type?>"><p><?=$message?></p></div>
            <? } ?>            <div class="hastabmenu" style="height:30px">
                <ul class="tabmenu">
                    <li class="tabcurrent"><a href="index.php?admin_editor/setting<?=$setting['seo_suffix']?>">全局设置</a> </li>
                    <li><a  href="index.php?admin_editor/default<?=$setting['seo_suffix']?>">编辑器功能</a></li>
                </ul>
            </div>


            <div class="mainbox nomargin">
                <form action="index.php?admin_editor/setting<?=$setting['seo_suffix']?>" method="post">
                    <table class="opt">
                        <tr>
                            <th colspan="2">启用编辑器:</th>
                        </tr>
                        <tr>
                            <td>
                                <input class="radio"  type="radio"  <? if(1==$setting['editor_on'] ) { ?>checked<? } ?>  value="1" name="editor_on"><label for="yes">是</label>
                                <input class="radio"  type="radio"  <? if(0==$setting['editor_on'] ) { ?>checked<? } ?> value="0" name="editor_on"><label for="no">否</label>
                            </td>
                            <td valign="top">关闭后可用文本框提问。</td>
                        </tr>
                        <tr>
                            <th colspan="2">其它信息:</th>
                        </tr>
                        <tr>
                            <td><textarea class="area" name="editor_items"  r style="height:200px;width:500px;"><?=$setting['editor_items']?></textarea></td>
                            <td valign="top">在编辑器功能管理可以手动调整，Bold,Italic,Img,flash,Media,Table,Emot,Link。</td>
                        </tr>
                    </table>
                    <div class="opt"><input class="btn" tabindex="3" type="submit" value="提 交" name="submit"></div>
                </form>
            </div>
        </div>

    </body>

</html>
